AksScript
Previous   Top   Next

QuickZip Script

Quick Zip script have been updated to aks script in Qzip 4.00

Commands

Name
Sample
Explain
NEW
NEW "c:\xyz.zip"
Create new archive (it will always create new archive, with new name)
OPEN
OPEN "c:\xyz.zip"
Open exist archive (or create if not exist)
CLOSE
CLOSE
Close opened archive
EXTR
EXTR "*.*" "c:\"
Extract file in archive
EXTRACT
EXTRACT "*.*" "c:\"
Extract file in archive
ADD "C:\*.zip"
Add file to archive (support wildcards)
DOADD
DOADD
Start Adding files
DEL
DEL "a.file"
Delete a file in archive
DELETE
DELETE "a.file"
Delete a file in archive
REN
REN "from.ext" "too.ext"
Rename file (zip only) (#1)
RENDIR
RENDIR "FromDir" "ToDir"
Rename whole dir (zip only) (#1)
PASSWORD
PASSWORD "pass"
Change password for add and extract.
USEEXTRPATH
USEEXTRPATH "OFF"
Use path in extract
USEADDPATH
USEADDPATH "OFF"
Use path in add
USESUBDIR
USESUBDIR "OFF"
Add subdir when using wildcards
RUNFILE
RUNFILE  "C:\test.exe"
Run a file (not only exe file)



MOVEFILE "c:\test.zip" "c:\temp\test.zip" - move a file
RENFILE "c:\test.zip" "c:\temp\test.zip" - rename a file
DELFILE "c:\test.zip" "c:\temp\test.zip" - delete a file
BACKUPREG "HKEY_CLASSES_ROOT" "rootpath\whatever" "keyname" "c:\backup.reg" - backup registry
TXTFLIST "c:\123.txt" - create filelist
HTMFLIST "c:\123.htm" - create filelist
PDFFLIST "c:\123.pdf" - create filelist
PDF2FLIST "c:\123.pdf" - create filelist
SPAN "c:\source.zip" "a:\target.zip" "1024000" - cut any file
MSG "Your message" - show up ur message
CLOSEARC - Close qzlite SYNC "c:\test.txt" - update if it's newer.
BATCHADD "c:\test.txt" "c:\test.zip" - Add file then close
EMAIL "alias@domain.com" - E-mail archives.
CONVERT "c:\test.zip" "CAB" // Convert archive into another type
DATESTR "y-n-d h:m:s" // Set datetime format for use with %DATE% macro

Macros
%TEMP%\ - Temp directory
%WINDOWS%\ - Windows directory
%DESKTOP%\ - Desktop directory
%ARCHIVE%\ - Archive directory (after opened)
%DATE% - Datestr
%1% - selected file if using shell context script.
% F% - %1% without extension